package com.guodaxia.gzh;

import cn.dev33.satoken.SaManager;
import com.fasterxml.jackson.core.JsonProcessingException;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableAsync
@MapperScan(value = {"com.guodaxia.gzh.sql.mapper"})
@SpringBootApplication
public class GzhApplication {

    final static Logger logger= LoggerFactory.getLogger(GzhApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(GzhApplication.class, args);
        logger.info("公众号启动成功，Sa-Token 配置如下：" + SaManager.getConfig());
    }



}
